import java.util.Random;//generate random number

public class HelloWorldArrays
{
	public static void main(String[] args)
	{
		///////////////////////////////////////////////
		
		int[] a = new int[5];
		a[0] = 100;
		a[1] = 99;
		a[2] = 98;
		a[3] = 97;
		a[4] = a[0];
		
		for (int x = 0; x < a.length; x++)
		{
			System.out.println(a[x]);
		}
		
		///////////////////////////////////////////////
		
		int[] b = { 100, 99, 98, 97, 96 };
		
		for (int x = 0; x < b.length; x++)
		{
			System.out.println(b[x]);
		}
		
		///////////////////////////////////////////////
		
		int[] c = new int[5];
		Random randomNumberGenerator = new Random();
		
		for (int x = 0; x < c.length; x++)
		{
			int randomNumber = randomNumberGenerator.nextInt(10);
			c[x] = randomNumber;
		}
		for (int x = 0; x < c.length; x++)
		{
			System.out.println(c[x]);
		}
		
	}
}